package com.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fegin.bean.admin.MenuResourse;
import com.fegin.bean.common.ztree.ZtreeBean;

import java.util.List;

/**
 * <p>
 * 菜单资源表 服务类
 * </p>
 *
 * @author 张子艺
 * @since 2019-01-08
 */
public interface MenuResourseService extends IService<MenuResourse> {
    //查询所有菜单
    List<ZtreeBean> findMenuZtree();

    //查询当前登陆用户所拥有菜单
    List<ZtreeBean> findMenuZtreeByPeople(Long loginId);
}
